#if status is-interactive
#if status is-login
    # Commands to run in interactive sessions can go here
#   if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
#   exec sway
#  end
#end

if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
	exec sway
#exec Hyprland
end

#function fish_command_not_found
#      __fish_default_command_not_found_handler $argv[1]
#  end
#~
#disable fish_greeting
set -U fish_greeting

#alis 
abbr -a pacman sudo-rs pacman
abbr -a ncdu ncdu --color dark
abbr -a cat bat
abbr -a ls eza -l
abbr -a sudo sudo-rs
